package com.java.mall_imooc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.java.mall_imooc.common.utils.PageUtils;
import com.java.mall_imooc.entity.Category;
import com.java.mall_imooc.vo.CategoryVo;

import java.util.List;
import java.util.Set;

/**
 * 商品类目表
 *
 * @author jl
 * @since 2020-03-16 13:31:58
 */
public interface CategoryService extends IService<Category> {

    PageUtils queryPage(Category category,Integer pageNum, Integer pageSize);

    List<CategoryVo> categoryTree();

    Set<Integer> subCategoryIds(Integer parentId);
}

